#pragma once



class CRecvMsg
{
public:
	CRecvMsg();
	~CRecvMsg();

	char * GetHead();
	int GetHeadLen();
	bool decode_header();

	char *GetBody();
	int GetBodyLen();
	bool decode_body();
private:
	char * buffer;
	int bodyLen;
	int maxBodySize;
};

